//
//  UIView+JJCategory.h
//  Zoo4iPhone
//
//  Created by zhazhenwang on 2017/1/25.
//  Copyright © 2017年 jiajie. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (JJCategory)

/**
 *  获取View的frame参数
 */
- (CGFloat)left;
- (CGFloat)top;
- (CGFloat)right;
- (CGFloat)bottom;
- (CGFloat)width;
- (CGFloat)height;
- (CGFloat)centerX;
- (CGFloat)centerY;
- (CGSize)size;

/**
 *  设置View的frame参数
 */
- (void)setLeft:(CGFloat)left;
- (void)setTop:(CGFloat)top;
- (void)setWidth:(CGFloat)width;
- (void)setHeight:(CGFloat)height;
- (void)setCenterX:(CGFloat)centerX;
- (void)setCenterY:(CGFloat)centerY;

- (void)drawSplitLineWithFrame:(CGRect)frame color:(UIColor *)color;

@end
